// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;
#pragma once
#include "../SQLStatementImpl.h"
#include "SQLDropStatement.h"

class SQLPurgeTableStatement : virtual public SQLStatementImpl, virtual public SQLDropStatement
{
public:
  SQLExprTableSource_ptr table;
  BOOL_ptr all;
  int count;

  SQLPurgeTableStatement();

  SQLPurgeTableStatement(DbType_ptr dbType);
  SHAREDOBJECT(SQLPurgeTableStatement);

  // @Override
  void accept0(SQLASTVisitor_ptr visitor);

  SQLExprTableSource_ptr getTable();

  void setTable(SQLName_ptr x);

  void setTable(SQLExprTableSource_ptr x);

  int getCount();

  void setCount(int count);

  BOOL_ptr isAll();

  void setAll(BOOL_ptr all);
};
